added isPrime and countPrimes (Finished)

countPrimes is the sieve of eratosthenes and isPrime is just a decent
prime checker