Change bellman_ford to use the FIFO variant

The predecessor heuristic is also included.
Merge pull request #1091 from ysitu/bellman_ford

Change bellman_ford to use the FIFO variant