fix and test eratosthenes2