Chapter 17 code, extra information, and errata