Changes the tree into its mirror image