lstack: Linked list stack implementation