Adding my solution to HW1