backpropagation neural network example written by java