Spiral Traversal of a Binary Tree in Java