public class Space
{
  protected String description;
  protected int whoAmI;
  protected int adjustment;

  public Space(String desc, int who, int adjustment)
  {
    description = desc;
    whoAmI = who;
    this.adjustment = adjustment;
  }

  public Space(String desc, int who)
  {
    description = desc;
    whoAmI = who;
    adjustment = 0;
  }

  public int getWhoAmI()
  {
    return whoAmI;
  }
  
  public String toString()
  {
    return description;
  }

  public int getAdjustment()
  {
    return adjustment;
  }
  
 
  public static void main(String args[])
  {
    Space sp1, sp2, sp3;

    sp1 = new Space("Square 1", 1);
    sp2 = new Space("Square 2", 2);
    sp3 = new Space("Square 3", 3, -2);

    System.out.println(sp1 + " " + sp2 + " " + sp3 + " " + sp3.getAdjustment());       
  } 
}
  

