program thats test if a number is prime