Modified python code in leetcode_Binary_Tree_Inorder_Traversal.java