union-find solutions by Sedgewick are added/packaged