A better solution for Exercise 2.36 is added.