Add Bellman-Ford algorithm implementation. NOT FINISHED!