problem 3 solution
problem 7 solution
problem 9 solution
problem 10 solution