C++ Graph Theory Project