Dfs Algorithm Python Binary Tree Implementation Using Array