add my solution to HW1