I have been experimenting in singly linked lists.I wrote an insert function, that pushes a value to the end of the list.
Here is the code of the function: