Solved BinaryTreeLevelOrderTraversal in java