added preliminary graphing code

added preliminary graphing code