When using a function to add a new node to a linked list, why do i need to return the new node?
Currently I am trying to create a linked list, which i think is
a data structure composed of nodes where each node stores an item and a pointer to the next node in the data structure.
Here is the class I am using to create nodes: