Add solution to Problem 9
Add solution to Problem 10