Add Hw4 solution