finished part 1
finished hw3 part2
finished hw3 part3