Demonstration of knn.