Chapter 4: A Very Functional Program