Update Calc.cpp

Included square method