terribad unoptimized euler3 version

also includes sieve of eratosthenes code by Boing