hw1 solutions