add some exercises from chapter 8