while array a contains more primes

while(i >= 0)