handwriting of digits recognizer, based on amizra's handwriting project.