SICP Exercise 1.11