stack implenmentopn in list,without any testing