g_to_b = ConvertToBinaryTree(g_root) print "Converted Binary Tree" print g_to_b print back_to_g = ConvertToGeneralTree(g_to_b) print "Converted Back to General Tree" print back_to_g print print "__________________________________" print # Making Binary Tree b_root = BinaryTree(10000) b_root.add_in_order([100, 500, -5, 10, 1, -10, 50, 3, 90, 0]) print "Original Binary Tree" print b_root print b_to_g = ConvertToGeneralTree(b_root) print "Converted to General Tree" print b_to_g print back_to_b = ConvertToBinaryTree(b_to_g) print "Converted Back to Binary Tree" print back_to_b print