Solved problem 10, Eratostenes sieve in action :)