Update KNN.java

A basic version of KNN