neural network using back propagation algorithm