add exercise 2,5,7,8 in chapter 5