problem 10 finished