Add pre/in/postorder traversals for BSTs