Solutions to exercises in SICP (Abelson and Sussman)