Pergunta de entrevista da empresa Fast Enterprises

Writing a function to determine if a number is prime