K Nearest Neighbor classification with Intuition and practical solution