Chapter 4 code, extra information, and errata