add chapter 10, high order functions