End the list of adjacency lists with "END" to signal end of list.

When reading from a file it will get 'null' at the end of the file,
but when reading from a socket it will block until there is more data
or the socket is closed from the other end.