public class Tile
{
    public static final int NORTH = 0;
    public static final int EAST = 1;
    public static final int SOUTH = 2;
    public static final int WEST = 3;

    public Tile (long number, String[] data)
    {
        _id = number;
        _data = data;

        generateEdges();
    }

    public final long getID ()
    {
        return _id;
    }

    @Override
    public String toString ()
    {
        String str = TileData.TILE_ID+_id+":\n";

        for (int i = 0; i < _data.length; i++)
            str += _data[i]+"\n";

        return str;
    }

    private void generateEdges ()
    {

    }

    private long _id;
    private String[] _data;
    private String[] _edges;
}
@@ -262,16 +262,48 @@
  = data;
+%0A        _edges = new String%5B4%5D;
 %0A%0A      
@@ -641,16 +641,483 @@
 )%0A    %7B%0A
+        _edges%5BNORTH%5D = _data%5B0%5D;%0A        _edges%5BEAST%5D = %22%22;%0A        _edges%5BSOUTH%5D = _data%5B_data.length -1%5D;%0A        _edges%5BWEST%5D = %22%22;%0A%0A        for (int i = 0; i %3C _data.length; i++)%0A        %7B%0A            _edges%5BWEST%5D += _data%5Bi%5D.charAt(0);%0A            _edges%5BEAST%5D += _data%5Bi%5D.charAt(_data%5Bi%5D.length() -1);%0A        %7D%0A%0A        System.out.println(%22%5CnEdges for %22+_id);%0A%0A        for (int j = 0; j %3C 4; j++)%0A        %7B%0A            System.out.println(_edges%5Bj%5D);%0A        %7D
 %0A    %7D%0A%0A

Update Tile.java