Amazon interview question

Implement back propagation without using any additional libraries.