Create calc.cpp

A simple calculator to perform basic functions