Add an element to the tail of the provided list.
Value to append.
Linked list.
New linked list with the element appended to the end.
Add an element to the tail of the provided list.