public void list()
	{
		//get all values
		for(Exit e:exits.values())
		{		
			//get pairs of keys and values 
			 for (Entry<String, Exit> entry : exits.entrySet()) {
				 //if key is equal to the value
				 if (e.equals(entry.getValue())) {
			        	if(e.isVisible())//and is visible
			        	System.out.println("Exit: "+entry.getKey()+" "+e.getName());//spit it out
			        	break;//continue with next value
			        }
			    }			
		}
		
		//get all values
		for(Item e:items.values())
		{	//get pairs of keys and values 
			 for (Entry<String, Item> entry : items.entrySet()) {
			        if (e.equals(entry.getValue())) {//if key is equal to the value
			        	if(e.isVisible())//and is visible
			        	System.out.println("Item: "+entry.getKey()+" "+e.getName());//spit it out
			        	break;//continue with next value
			        }
			    }			
		}
	}