complete homework1 solutions