Pergunta de entrevista da empresa KBR

White-boarding about simple algorithm. Define a function to determine if a number is prime.