add history to the calculator
add history to the calculator