fixed bug in is_prime, which fixed pe10