A java library for evaluating mathematical expressions