Lecture 8: Implement the Delta rule optimization