Simple C++ Neural Network