Initial import of kNN and its test