add section on union-find