problem 8 solution
problem 9 solution
problem 10 solution