1. Table 6-2, line 6 string.format("%x",13) returns "d" not "D"

  2. Added to the errata for Chapter 6