Add pre order and post order traversal