Disjoint Set Union (DSU) Rollback - Preparation to IOI Part 3