Create k-nearestNeighbor.m