to find a square root of a number