added multilayer net and an example using MNIST