Fixed homework question 7 :/