Pregunta de entrevista de Viewpost

Write a function that determines if N is a prime number.