minesweeper cli in CPP