Bellman-Ford v0.01