Changed ROM program to Sieve of Eratosthanes.