added knn script

well it doesn't work properly though