My implementation of a linked list