Check to see if a number is prime