Modifying the Program for Strategies: Exercise 6.14, p. 159