knr2: Completed exercise 3-01.
knr2: Completed exercise 3-02.