public static boolean isPrime(long n) {