K means algorithm using Euclidean distance squared.
100% original code by Addie Schnirel. All rights reserved.
Kmeans takes a comma delimited data file and a parameter file (number of repetitions of algorithm, number of clusters, maximum number of algorithm iterations).
Returns a graph of final clustering arrangements for 2d and 3d data.