Playing around with unconstrained optimization for S. Mahadevan's CMPSCI690