Add benchmarking code to Prob 10
Update sieve algorithm