stack using link list finished