This is a simple KMeans file, writing in c++.