Add frameword for the Karger min cut