hw-3 part 1 finished.