Add Eratosthenes' sieve and primary test.