Adding fixes to Graph.cpp including fix to complement and some WIN32 stuff.