hw5 part 1.d
hw5 part 1.e