import java.util.*;

public class VacuumRobot
{
    // instructions

    public static final String LEFT_COMMAND = "L";
    public static final String RIGHT_COMMAND = "R";
    public static final String NEW_LINE = "\n";

    public VacuumRobot (String[] scannedLines, boolean debug)
    {
        _thePath = new Vector<Cell>();
        _maxX = 0;
        _maxY = 0;
        _debug = debug;

        convertToPath(scannedLines);
    }

    private void convertToPath (String[] lines)
    {
        int lineLength = lines[0].length(); // all lines are the same length

        _maxY = lines.length;
        _maxX = lineLength;

        for (int y = 0; y < lines.length -1; y++)
        {
            for (int x = 0; x < lineLength; x++)
            {
                char currChar = lines[y].charAt(x);
                boolean isScaffold = (currChar == CellId.SCAFFOLDING_CHAR) || (CellId.isRobotCode(""+currChar));
                Cell theCell = new Cell(new Coordinate(x, y), isScaffold, _debug);

                if (_debug)
                    System.out.println(theCell);

                _thePath.add(theCell);
            }
        }
    }

    private void printCells ()
    {
        Enumeration<Cell> iter = _thePath.elements();

        while (iter.hasMoreElements())
        {

        }
    }

    private Vector<Cell> _thePath;
    private int _maxX;
    private int _maxY;
    private boolean _debug;
}
@@ -420,32 +420,473 @@
 dLines);%0A    %7D%0A%0A
+    public void printCells ()%0A    %7B%0A        Enumeration%3CCell%3E iter = _thePath.elements();%0A        int index = 1;%0A%0A        System.out.println(%22Dimensions %3C %22+_maxX+%22, %22+_maxY+%22 %3E%22);%0A%0A        while (iter.hasMoreElements())%0A        %7B%0A            System.out.print(iter.nextElement().getContents());%0A%0A            if (index++ == _maxX)%0A            %7B%0A                System.out.println();%0A%0A                index = 1;%0A            %7D%0A        %7D%0A    %7D%0A%0A
     private void
@@ -1187,173 +1187,8 @@
   %7B%0A
-                char currChar = lines%5By%5D.charAt(x);%0A                boolean isScaffold = (currChar == CellId.SCAFFOLDING_CHAR) %7C%7C (CellId.isRobotCode(%22%22+currChar));%0A
     
@@ -1249,18 +1249,42 @@
 y), 
-isScaffold
+String.valueOf(lines%5By%5D.charAt(x))
 , _d
@@ -1443,167 +1443,8 @@
  %7D%0A%0A
-    private void printCells ()%0A    %7B%0A        Enumeration%3CCell%3E iter = _thePath.elements();%0A%0A        while (iter.hasMoreElements())%0A        %7B%0A%0A        %7D%0A    %7D%0A%0A
     

Update VacuumRobot.java