Add Edmonds-Karp algorithm