finish hw2 part1