ConnectProblem QuickUnion