Java Recursive Binary Tree Height Methods In Python