first commit knnClassifier in python