chapter 3: added foldRight, sum2, product and product2
chapter 3: exercise 7
chapter 3: exercise 8
chapter 3: exercise 9
chapter 3: exercise 10 part 1