Python interface GUI implements k-means clustering algorithm