K-nearest Neighbor example