Lesson 5: Haskell: higher order functions