adding hw 4 solutions