Create calc.cpp

commit