Rewrite part of the source code of WINDOWS minesweeping program