Added MNIST example

I added an MNIST example so it would be a little more clear how to use the library, and so any future changes could be tested for performance.