Exercise 6.11: Generalize the functions unit, map, map2, flatMap, and sequence.