Create bisectionMethod