Exercise 4-4 (bothMatch_2 in terms of map2)