add solution to Q3.3