Create Bellman-Ford Algorithm