Android Version of Primes