primes in bash