Set the copy constructor of SudokuPuzzle to make a new pointer structure instead of copy the old.