finish hw6 part1&2
finish hw6 part3
finish hw6 part4