Added karger's min cut algo implementation