A simple simulation of Least Squares Method which I believe inspired modern day optimization methods in machine/deep learning.