import java.util.*;

public class Maze
{
    public Maze ()
    {
        _map = new Vector<Tile>();
    }

    public final void addContent (Coordinate coord, String type)
    {
        if (!_map.contains(coord))
            _map.add(new Tile(coord, type));
    }

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

    @Override
    public String toString ()
    {
        return "";
    }

    private Vector<Tile> _map;
}
@@ -94,16 +94,92 @@
 ile%3E();%0A
+        _maxX = 0;%0A        _minX = 0;%0A        _maxY = 0;%0A        _minY = 0;%0A
     %7D%0A%0A 
@@ -240,32 +240,73 @@
 ing type)%0A    %7B%0A
+        // don't add if already present%0A%0A
         if (!_ma
@@ -540,54 +540,201 @@
     
-return %22%22;%0A    %7D%0A%0A    private Vector%3CTile%3E _map
+int x = _minX;%0A        int y = _minY;%0A        %0A        return %22%22;%0A    %7D%0A%0A    private Vector%3CTile%3E _map;%0A    private int _maxX;%0A    private int _minX;%0A    private int _maxY;%0A    private int _minY
 ;%0A%7D

Update Maze.java