Implement Clustering Algorithm In Python Definition