added code to create MNIST experiments on GRAIL using cxxnet