Implemented NeuralNetwork using Prototype