Update calc.cpp

Added a subtraction function