Errata: Corrections and supplements

Program to answer question 3 in chapter 1