Simple neural network using backpropagation algorithm