Source Code of ClustersDetection