knn classifier with variable neighbors. first cut.