project 1 graph and graphing code