knr2: Completed exercise 1-7.
knr2: Completed exercises 1-8, 1-9, and 1-10.