Added functions that create new lists and nodes