Algorithm For Bisection Method