added kNN code
wrote KNN