Added Edmonds-Karp algorithm for max-flow.
Fixing bug with not subtracting flow from reverse edges.