Added a list node class, changes to lists in main