Programming Pearls, chapter 1