Starting assignment 10 problem 1