Working graph implementation.

Adjacency list representation, directed graph.