Exercises for chapter 3