Implementation of tlhe Backpropagation Algorithm