hw1 code review

Here is my review.