zigzag level order traversal 2nd try