Update KNearestNeighbors.java

Updated from 1-nearest neighbor to k-nearest neighbor