Implementation of Graph.addVertex. Not *completely* working