Update Kruskal_Weighted_Quick_Find.py

Introducing modularity