debugged functions of calculator
commit