Toy neural network to understand backpropagation