Java program to evaluate an arithmatic expresssion with integer constants, scalar variables, and parenthesized subexpressions