added sieve of eratosthenes to wed