Complete hw3 part 1a