Quick Union improvements: Weighted and Path Compression