basic solver that exits when it can't be sure about revealing any cells
track number of flags and solved state
converted algo print statements to logging.debug
added win condition for the minefield class