Started implementation of the k-means clusterization.