Digit Classifier using K-Nearest Neighbors