Added various classes to create and support graph data structure.