pep8 fixes around bellman-ford algo code