simple knn implementation added.