Finished Ch9 exercises