Implementation of minesweeper game in java for class project