Finding a square root by subtraction