Implemented removeNode in Graph.cpp