#68: basic implementation of gradient descent.