checks if a number is prime