Finished Chap 7 exercises