knr2: Completed exercise 2-01.