Added QuickUnion and tests to QuickUnion