Onfleet interview question

write a function to test if a number is prime