Browsing: how to place a flag in minesweeper