problem 10 done

had to use more efficient sieve of Eratosthenes for speed