recognizes a prime number