Added Bellman-Ford implementation