Added library for clustering, clustering works