Added edmondsKarp and bfs, dont know if it works