poj 1611. disjoint set