Minesweeper clone code sample