A Minesweeper library and implementation in C++