add my solution to HW2