This will check if a number is prime.