added kmeans and pca code