k-means-clustering Implementation of K-means clustering from scratch, image compression and decompression and analysis