add the problem 4 of chapter 2