Exercise 6.7: Implemented map2 and rewrote intDouble and doubleInt in terms of that combinator.