Added solution to Q2