Added clustering.py

Empty file for clustering methods using Kruskal’s algorithm and
union-find data structure.