created getter and setter for map in world.java