Add solution to problem 9
Add solution to problem 10