Sieve of Eratosthenes and Reverse a String.