added hw4 solutions