Solved BinaryTreeInorderTraversal in java