public int priority()
    {
        for (int i = 0; i < priorities.length; i++)
        {
            for (char operator: priorities[i])
            {
                if (operator == value) return priorities.length - i;
            }
        }
        return 0;
    }