HW3:it can remove duplicate line