K-nearest Neighbor algorithm in Machine Learning with example