print tree zigzag