Chapter 8 Code Listings Updated