Completed exercises in chapter 9