square root by bisection search