Tag - bellman ford pseudocode