added sieve or eratosthenes method for problem10