Finish Exercise 2 & 3 chapter 5