added solution of copy list with random pointer