hw4 part1 step7