Code listings for Chapter 14