Removed some redundancies in the placeMines method. completely revamped
the revealSquare method. contrary to the comment, it is not broken.
flagging is next