Introduction to Image Segmentation with K-Means clustering