added some testing code in GameStateTest and chamged layMine() a bit because there was a bug