starting problem 9
problem 9