Fix post order non recursive issue

and plus one tree output class - not finished yet