completed linkedlist.py, main.py