ruby is awesome, prime number check