Generic linked list using the transfer intrinsic