Linked list assignment