Fixed errors and finished Ch9

Fixed a few minor errors in previous programs
Started Chapter 10