completed chapter 3 exercises