first commit of calc.cpp