Wrote mlia.kNN.classify0().