Added iteration with backpropagation algorithm.