Create calc.cpp

This is a calculator.