get prime graphing working, fix prime generator