Petuum interview question

create a minesweeper algorithm using 2d array