Create Graph.cpp and update Graph.hpp