solved project euler problem 35 on circular primes