expanded the edge class and started implementing edmonds karp in maxflow