public boolean validDirection(String direction)
    {
	   int newCol, newRow;
	   
       switch(direction)
       {
       case "e": 
    	   newCol = heroCol + 1;
    	   return (newCol < myDungeon[0].length) ? true : false;
       case "w": 
    	   newCol = heroCol - 1;
    	   return (newCol >= 0) ? true : false;
       case "n": 
    	   newRow = heroRow - 1;
    	   return (newRow >= 0) ? true : false;    	   
       default: 
    	   newRow = heroRow + 1;
    	   return (newRow < myDungeon.length) ? true : false;
       }
    }