generate a tab separated adjacency list