K-Means clustering using Lloyd's Algorithm