#39 adding saveGame function to Map.cpp