Made some progress on hw6 part1.