Started work on problem 9