Kmeans

Solves #127.