Union find data structure moved to its own submodule (utils/unionfind).