A bug fix for makeList when n=0.
Code for problem 21.