Create Binary Tree From List Python Functions