Implementation of MATLAB Code for K-means Clustering