Hw1, part 2 completed.