Steepest Ascent Code for HW 5