fix homework 1 question 1, which basically was missing a negative sign