Added preorder_traversal