Linked List template: initial version