Finished chapter 7 exercises.