Create recursive_preorder_treversal