Linked List related codes.