[unionfind] Update UnionFindUnionByRankAndPathCompression's method signatures
[unionfind] Update UnionFindUnionByRankAndPathCompression's method signatures

Didn't implement them though

nitsas/py3datastructs