hw4 init
finished hw4 part0 and part1
finished hw4 part2