Update calc.cpp

I updated Square Method