Trees And Graphs In Ai