hw 2 solutions