completed chapter 3, exercises 21-23
chapter 3, exercise 24