Started on chapter 4 exercises.