add keypress events to calc
add keypress events to calc