Separate functions for saving and for showing an image
ipython notebook: sample usage of the MNIST dataset