Completed exercises for Chapter 2