Add KNN algorithm