Minesweeper written in python