added exercises from chapter 5