Added a minesweeper game
Added some stuff to minesweeper.js and fixed a problem in main.cpp