Bisection method implemented