Chapter 2 exercises.