Finish Chapter 5 problem 4