import java.util.*;

public class Trail extends Map
{
    public Trail (Map toCopy)
    {
        super();

        _originalImage = toCopy._originalImage;
        _debug = toCopy._debug;

        super.createMapFromImage(_originalImage.scannedLines());
    }

    public boolean visited (Coordinate coord)
    {
        Cell temp = new Cell(coord);
        int index = super._theMap.indexOf(temp);

        temp = super._theMap.get(index);

        switch (temp.getContents())
        {
            case CellId.ROBOT_FACING_UP:
            case CellId.ROBOT_FACING_DOWN:
            case CellId.ROBOT_FACING_LEFT:
            case CellId.ROBOT_FACING_RIGHT:
                return true;
            case CellId.SCAFFOLDING:
            default:
                return false;               
        }
    }

    public void changeElement (Coordinate coord, String type)
    {
        Cell temp = new Cell(coord);
        int index = _theMap.indexOf(temp);

        temp = _theMap.get(index);

        temp.setContents(type);
    }
}
@@ -509,23 +509,19 @@
 lId.
-ROBOT_FACING_UP
+SCAFFOLDING
 :%0A  
@@ -546,179 +546,49 @@
 lId.
-ROBOT_FACING_DOWN:%0A            case CellId.ROBOT_FACING_LEFT:%0A            case CellId.ROBOT_FACING_RIGHT:%0A                return true;%0A            case CellId.SCAFFOLDING:
+OPEN_SPACE:%0A                return false;
 %0A   
@@ -628,20 +628,19 @@
  return 
-fals
+tru
 e;      

Update Trail.java