Graph class

Created a graph class that uses topology information
to build a graph representing the network