Implement Edmonds-Karp algorithm. NOT FINISHED!!!