Finished Chapter 10 Exercise 2.