public Curve makeCurve(int color){
  Curve c=new Curve(color);
  curves.add(c);
  return c;
}

public Curve makeCurve ( int color ) { Curve c = new Curve ( color ) ; curves . add ( c ) ; return c ; }
make a new curve with desired color .
