Finished exercises for Chapter 5