Create minesweeper.java

Logic for the game