Completed the SICP bhw1 5.5C