Australia wins 2nd Ashes test by 218 runs