Stop early in Bellman-Ford

This also eliminates the need for a separate extra iteration.
Merge pull request #84 from eush77/bellman-ford-early-stop

Stop early in Bellman-Ford