basic structure for graph representation. Based on adjacency lists.