Modify adjlist.py to read and write the new-style adjacency list.