Added exercises from chapter 9