Minesweeper Gameplay

Implemented all of the minesweeper gameplay functions.