Python Program For Backpropagation Algorithm Definition