ipython notebook with pieces of code relating to MNIST