Add class NeuralNetwork. Now the network is functioning, but need to take care of none hidden layer situation.