Add exercises 4-7 from chapter 10