Tag - bellman ford algorithm