add some graphing code
More Cpp