Exercises from SICP Section 2.2