prime number generating algorithm | ScratchStats