Update calc.cpp

Added add method
Merge pull request #1 from Simran-Budhwani/3953

Update calc.cpp