@Override public String toString(){
  String str="";
  for (  BasicEffect e : subeffects) {
    str+=e.toString() + " ^ ";
  }
  return (!subeffects.isEmpty()) ? str.substring(0,str.length() - 3) : "Void";
}

@ Override public String toString ( ) { String str = "" ; for ( BasicEffect e : subeffects ) { str += e . toString ( ) + " ^ " ; } return ( ! subeffects . isEmpty ( ) ) ? str . substring ( 0 , str . length ( ) - 3 ) : "Void" ; }
returns a string representation for the effect
