Code for a parser for arithmetic expressions
New version of BinaryTree with iterator-like methods supported by Java 8. See methods doInorder, doPreorder, and doPostorder.