trees: add pre-order and post-order traversals to binary trees
trees: small syntactic fixes
trees: count nodes