This is a simple mathematical evaluator that uses stacks in Java