Given the Minesweeper df (with mine and adjacent columns), set adjacent to NaN for every row that contains a mine. Return the DataFrame.
df
mine
adjacent
Sample data: df:
x y mine adjacent 0 0 0 0 1 1 0 1 1 2 2 1 0 0 3 3 1 1 1 1
solve(...)