Chapter 6 code, extra information, and errata