Adding option to return negative cycles in Bellman-Ford algorithm.