Finished exercises for Chapter 6