Create calc.cpp

This is for demo purpose.