Update calc.cpp

added another add function
Merge pull request #1 from sanjhal-sharma/smriti

Update calc.cpp