Create copy list with random pointer.cpp