Added solution to Q8