Problem 35 - circular primes

 - optimized isPrime to use binary search for n within range of known primes
   or trial divion of primes up to sqrt(n) for larger n