prime number detector takes a prime number and returns true.