Changed the cGraph class to a template. Added functionality for addVertex
and addEdge.