public static EnumMap<Direction, Wall> createWalls(Location thisLocation)
	{
		EnumMap<Direction, Wall> walls = new EnumMap<Direction, Wall> (Direction.class);
		walls.put(Direction.NORTH, Wall.BLANK);
		walls.put(Direction.EAST, Wall.BLANK);
		walls.put(Direction.SOUTH, Wall.BLANK);
		walls.put(Direction.WEST, Wall.BLANK);
		
		for(Direction d: Direction.values())
		{
			if(map.get(new Location(thisLocation, d)) != null)
				walls.put(d, map.get(new Location(thisLocation, d)).getWall(d.opposite()));
			else if(walls.get(d) ==Wall.BLANK && DOORS_LEFT > 0)
			{
				int random = RANDOM.nextInt(DOOR_CHANCE);
				if(random != 0)
				{
					walls.put(d, Wall.DOOR);
					DOORS_LEFT--;
					for(int i = 0; i <toBuildList.size();i++)
						if(toBuildList.get(i).equals(new Location(thisLocation, d)))
						{
							toBuildList.remove(i);
							log.info("The remove of Tobuild location"+ new Location(thisLocation, d).toString());
						}
					toBuildList.add(new Location(thisLocation, d));
					log.info("The next Tobuild location"+ new Location(thisLocation, d).toString());
				}
			}
		}
		
		return walls;
	}