HW1 solutions