import java.awt.*;

class GENERIC_CELL{
  int x, y;
  Color c;

  GENERIC_CELL(int xx, int yy, Color cc){
    x = xx;
    y = yy;
    c = cc;
  }

  public void moveX(int n){
    x += 10 * n;
  }

  public void moveDown(){
    y+=15;
  }

  public void moveUp(){
    y-=15;
  }

  public void draw(Graphics g){
    g.setColor(c);
    g.fillRect(x,y,10,10);
  }
}

