Add clases for union-find lesson