quickFind and quickUnion finished