import java.util.*;

public class Maze
{
    public Maze ()
    {
        _map = new Vector<Tile>();
        _maxX = 0;
        _minX = 0;
        _maxY = 0;
        _minY = 0;
    }

    public final void addContent (Coordinate coord, String type)
    {
        // don't add if already present

        if (!_map.contains(coord))
            _map.add(new Tile(coord, type));
    }

    public final boolean visited (Coordinate coord)
    {
        return _map.contains(coord);
    }

    @Override
    public String toString ()
    {
        int x = _minX;
        int y = _minY;
        
        return "";
    }

    private Vector<Tile> _map;
    private int _maxX;
    private int _minX;
    private int _maxY;
    private int _minY;
}
@@ -540,54 +540,536 @@
     
-int x = _minX;%0A        int y = _minY;%0A        
+String str = %22%22;%0A%0A        for (int y = _minY; y %3C _maxY; y++)%0A        %7B%0A            for (int x = _minX; x %3C _maxX; x++)%0A            %7B%0A                Tile theTile = new Tile(new Coordinate(x, y));%0A                int index = _map.indexOf(theTile);%0A%0A                if (index != -1)%0A                %7B%0A                    theTile = _map.get(index);%0A                    str += theTile.content();%0A                %7D%0A                else%0A                    str += TileId.UNEXPLORED;%0A            %7D%0A%0A            str += %22%5Cn%22;%0A        %7D%0A
 %0A   
@@ -1080,18 +1080,19 @@
  return 
-%22%22
+str
 ;%0A    %7D%0A

Update Maze.java