C++ implementation of the classic 3-layer perceptron in library form