Added SICP exercise 2.40
Reorganized SICP Chapter 1 solutions