Generate primes up to n efficiently | Amazon Interview Question