develop knn examples