Digit Recognizer using K-Nearest Neighbors