Moved all function implementations from graph.h to graph.cpp to fix MacOS linker errors