Data Structures -> Union Find Data Structure implementation.