Pergunta de entrevista da empresa QS/1

Write an is prime method