Chapter 3 code, extra information, and errata