Box Interview Question

write a function that determines if a number is prime.