update sicp: answer(2.6)