Simple neural network implemented.