basic linkedlist, primarily there for stack and queue