university task, java application that parse and evaluate mathematical expressions