Implemented CopyListWithRandomPointer