Fixed BST pre/post-order printing bug