Author annotation, formatting.
Added UnionFind