add adjacency list tree