Recognition of handwritten digits