knr2: Completed exercises 1-16, 1-17, 1-18, and 1-19.