Update calc.cpp

Added a new add method