import java.util.*;
import java.io.*;

public class Grid
{
    public static final int DEFAULT_WIDTH = 5;
    public static final int DEFAULT_HEIGHT = 5;

    public Grid (String fileName)
    {
        this(DEFAULT_HEIGHT, DEFAULT_WIDTH, fileName);
    }

    public Grid (int height, int width, String fileName)
    {
        _height = height;
        _width = width;

    }

    private void loadWorld (String inputFile)
    {
        BufferedReader reader = null;
        int row = 0;

        _theWorld = new Tile[_height][_width];

        try
        {
            reader = new BufferedReader(new FileReader(inputFile));
            String line = null;

            while ((line = reader.readLine()) != null)
            {
                for (int i = 0; i < line.length(); i++)
                {
                    if (TileId.valid(line.charAt(i)))
                        _theWorld[row][i] = new Tile(line.charAt(i));
                    else
                        System.out.println("Invalid world entry: "+line.charAt(i));
                }
            }

            row++;
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }
    }

    private Tile[][] _theWorld;
    private int _height;
    private int _width;
}
@@ -363,32 +363,321 @@
  width;%0A%0A    %7D%0A%0A
+    @Override%0A    public String toString ()%0A    %7B%0A        String str = %22%22;%0A%0A        for (int i = 0; i %3C _height; i++)%0A        %7B%0A            for (int j = 0; j %3C _width; j++)%0A                str += _theWorld%5Bi%5D%5Bj%5D;%0A            %0A            str += %22%5Cn%22;%0A        %7D%0A%0A        return str;%0A    %7D%0A%0A
     private void

Update Grid.java