print_in_order and print_post_order for binary tree