Clustering Using Binary Splitting (CLUBS) algorithm in C++