Stack using a linked list.