Added the third NeuralNetwork implementation