chapter 2; exercise 8 - foldRight with a list and Nil as initial value
chapter 2; exercise 9 - foldRight to calculate length