finished implementation of K-means cluster maps