added prime algorithm and graphing module