Add QuickUnion C++ implementation
Minor fixes to QuickUnionUF and adds quickunion java implementation