update sicp: answer(2.49)