using list to implement Stack