https://freecpp.com/binary-tree-zigzag-traversal-spiral-form-traversal/