I\'m doing some practice on algorithms so I wanted to try practicing writing code for different data structures for a union-find data type. I wrote an interface for the data