AC Bellmanford maxpath and inf cycles detection

AC Bellmanford maxpath and infinite cycles detection