SICP/chapter_3: exercise 33-37