Renamed BasicUnionFind back to QuickFind as that is the standard name of the algorithm