added Bellman-Ford implementation + some tests