finished part a
finished part a
hw1 part b