Finishedw problem 7