update the solution for binary tree postorder traversal.