Update hw1

took into account the remarks