Ignore the docs folder in the main & dev branches, Obviously not in the gh-pages branches.
Added the preOrder and postOrder methods for iteration.