end of chapter 3 exerices