Chapter 7 finished exercises