Kaggles digit recognizer using KNN algorithm. Also uses k-d tree