All steps from part 1 of hw4 done