add hw4 solution