Find Roots Of Function Python