post order widout reccursion