exercises 11+12 from chapter 12