minesweeper in ruby