HW1 Final Version