Added KNN classifier along with test.