Added solution to Q9
Added solution to Q10