This is a basic implementation of the bisection algorithm in python.