added kmeans.cpp