A simple graph implementation represented as adjacency list.
Methods to build a graph by adding edges.
Construct a sample graph and print it.