Checking in QuickUnion initial version