Pregunta de entrevista de Suitsupply

create a function that checks whether a number is a prime number