Added 'main' and many other functions. Also changed the 'MineBoard' class a bit. Now the game is 'working' but buggy (to say the best). Need various fixes and cleanup.