Added up to 12000 to isPrime