working on sicp problem 2-11