I need to double every node in a linked list, the doubled nodes should be right after the copied node. The function got the list.beg as parameter.
while (p !=