function that show if the number is prime or not