Exercises from Chapter 1 of SICP