Adding 3-rd week task (finding min cut of the undirected graph)