solved hw4