Finished chapter 9 exercises except for 9, which I could not get to work properly and had to comment out