public void addSymbol(Symbol symbol){
        boolean notFinded = true;
        for(Symbol s : alphabet)
            if(s.getValue().equals(symbol.getValue()))
                notFinded = false;
        if(notFinded)
            alphabet.add(symbol);
    }