implement stack with LinkList