Update calc.cpp

Added a subtraction function
Merge pull request #1 from devil101/3437

Update calc.cpp