fix print bug, add initial graphing.