Exercises from Chapter 3.