I refactored the Primes into Groovy