Python version of Minesweeper