Prime number generator and storage program.