cpp implementation of Binary Tree Zigzag Level Order Traversal