Sieve of Eratosthenes (Ruby)