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