4.2. Union Find
The unionfind
module includes a basic implementation to do union-find, useful for many merge tree and connected component tasks throughout the code. _TODO_: Add more information about the module and write documentation for the pieces.