A stack implementation using a linked list.