added all functionality to calculator besides memory