Linked list node allocation problems

https://ift.tt/3a4FozI