Simple implementation of the Adjacency Lists