Implementations of clustering algorithms for data mining