New function : add the node at the end of the list