Adding solution to square a number.