edits to pseudo code for real time graphing

just edits