knr2: Improved my answer to exercise 1-23.