Finished the SICP hw7