Faulty typing
implemented Kmeans algorithm