postorder and setPostoreder function