Kendago interview question

implement minesweeper left click function