minor changes
Added definition of adjacency graph