fixed Floyd bug
fixed Edmonds-Karp bug