prime detector detects if 3 is prime