Implement Clustering Algorithm Example