Added graph class and added methods to discover more about a given graph.