knn has worked, 98.0352% in digit training set and 97.8858% in test set with K=7