Exercise 11 - implement map using reduce
Exercise 12 - Function spies