Rewrite MineSweeper and Cell Class