A small multilayer perceptron implementation written with C++11