euler problem 26 Reciprocal cycles, also prime_test changed to is_prime