a sieve of eratosthones in swift