Make Binary Tree From Array Python Example