Implemented base KMeans Algorithm as well as the random generation of centroids