Write rudimentary graphing code for testing it