Stack using linked lists.