Modified linked list to duplicate strings internally.