how to calculate square of any number