fix and test eratosthenes23