First set of Chapter 3 exercises