Find Root Using Bisection Method Python