LinkedList implementation of a stack