Adjacency list reading implemented.