Solve SICP exercise 2.10
Solve SICP exercise 2.11