Linked List Implementations of Stack and Queue