private boolean isHighOrEqualPrecedence(char op1, char op2) {
        if (op1 == '(') return false;
        if ((op2 == '*' || op2 == '/') && (op1 == '+' || op1 == '-')) return false;
        return true;
    }