Added Path Compression

Added a short path compression algorithm to Kruskal to speed up
unioning.