knr2: Changed the output format of my answer to 1-8.
knr2: Completed exercises 1-11 and 1-12.