Third attempt, first fast primes, second is_prime... not proud