assignment 2 for stat5002 at the university of sydney