Pregunta de entrevista de QS/1

Write an is prime method