add some exercise in chapter 6