added methods createMap() and spawnPlayer to Map class