Neural Network Back-propagation algorithm implemented