Feature/pre order traversals

this closes #10