Binary Tree Traversal Using Array In Python Documentation