An implementation of an Artificial Neural Network using c++11