Added some input samples
comments and simplify code
Using po_iterator to produce a post-order iteration.