first rev of the MNIST handwriting dataset converter