Update calc.cpp

Included add() method