Assignment #7
Do Exercise 9.5.