hw6 problem 1(done) and 2
hw6_2 and hw6_3, submitted