Implementation of sieve of eratosthenes to calculate all the prime numbers, using :atomics for O(1) access and concurrent marking.