Add traversal algorithms and test: pre-order, in-order and post-order