Minesweeper in Ruby