Update minesweeper.rb

Code reviewed by Peter Lin