Printing a tree by level in zig zag