Update minesweeper.rb

Code reviewed by Peter Lin
Merge pull request #1 from ptrln/master

Review done!