first implementation of sieve atkins at ruby