Bisection Method Numerical Computation In Python