Exercises for chapter 2 and first exercises for chapter 3