Added SICP exercise 2.91