Creates a linked list, stack in Python.