Implement Knn Classifier Algorithm