hw7 question 4 almost done