Algorithm to find minimum cut of a undirected (directed with few alteration) graph.