Incomplete kmeans

Partially implemented kmeans algorithm.