if(repCode != null) {
//System.out.println("Trying: " + type + "\t" + rep + "\t" + repCode + "\tat\t" + state);
int newState = state;
for(int i=0;i<repCode.length();i++) {
char c = repCode.charAt(i);
newState = runAut.step(newState, c);
//System.out.println("\t" + newState);
if(newState == -1) break;
}
if(newState == -1) continue;
//System.out.println("Added: " + type + "\t" + cell.getValue());