created basic libraries for k-means clustering