* SequenceGenerator létrehozása a seq parancs hatására ezzel a függvénnyel történik
*/
private void createSequenceGenerator() throws FileNotFoundException, IOException {
if (param2.equals("")) {
SequenceGenerator seq = new SequenceGenerator();
System.out.println(seq.getName() + " CREATED.");
Main.controller.getDisplayView().addComponentView(new SequenceGeneratorView(getPosX(param1), getPosY(param1), seq));
this.ExecuteCommand("connect "+SystemClock.getInstance().getName()+",0 "+seq.getName()+",0");
output += seq.getName() + " CREATED.\n";
} else {
if (!(param1.equals("")) && !(param2.equals(""))) {
String regularExp = "[01]{1,100}";
CharSequence charSeq = param1;
if (Pattern.matches(regularExp, charSeq)) {
SequenceGenerator seq = new SequenceGenerator(param1);
System.out.println(seq.getName() + " CREATED with the following sequence: " + seq.getSequenceString() + ".");
Main.controller.getDisplayView().addComponentView(new SequenceGeneratorView(getPosX(param2), getPosY(param2), seq));
this.ExecuteCommand("connect "+SystemClock.getInstance().getName()+",0 "+seq.getName()+",0");
output += seq.getName() + " CREATED with the following sequence: " + seq.getSequenceString() + ".\n";
//Prototype.PrintStateAfterUpdate(seq);
} else {