SImple expression tree class based on http://www.sanfoundry.com/java-program-implement-expression-tree-algorithm/
with lightweight stack and tree