Find root method fixed

In this pull request
-Fixed the root method in the quick union and weighted quick union