Now supports undirected graphs
Added degree to node
added degree and add_graph methods