Implemented Bellman-Ford, not installing rules yet