backpropagation algorithm completed

The core back propagation algorithm has been implemented.