/*
 * A cell in the image taken by the Camera.
 */

public class Cell
{
    public Cell (Coordinate coord, String contents, boolean debug)
    {
        _coord = coord;
        _contents = contents;
        _debug = debug;
    }

    public Cell (Coordinate coord)
    {
        this(coord, CellId.OPEN_SPACE, false); // some defaults
    }

    public Cell (Cell toCopy)
    {
        _coord = new Coordinate(toCopy._coord);
        _contents = new String(toCopy._contents);
        _debug = toCopy._debug;
    }

    public final String getContents ()
    {
        return _contents;
    }

    public final void setContents (String contents)
    {
        _contents = contents;
    }
    
    public final Coordinate position ()
    {
        return _coord;
    }

    @Override
    public int hashCode ()
    {
        return _coord.hashCode();
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (this == obj)
            return true;
        
        if (getClass() == obj.getClass())
        {
            Cell temp = (Cell) obj;

            return temp.position().equals(position());
        }

        return false;
    }

    @Override
    public String toString ()
    {
        return "Cell at "+_coord+" is "+_contents;
    }

    private Coordinate _coord;
    private String _contents;
    private boolean _debug;
}
@@ -100,22 +100,20 @@
  coord, 
-String
+char
  content
@@ -298,12 +298,14 @@
 PEN_
-S
 PA
-C
+SSAG
 E, f
@@ -350,193 +350,18 @@
 lic 
-Cell (Cell toCopy)%0A    %7B%0A        _coord = new Coordinate(toCopy._coord);%0A        _contents = new String(toCopy._contents);%0A        _debug = toCopy._debug;%0A    %7D%0A%0A    public final String
+final char
  get
@@ -446,22 +446,20 @@
 ntents (
-String
+char
  content
@@ -1177,22 +1177,20 @@
 private 
-String
+char
  _conten

Update Cell.java