The Bellman Ford Algorithm