Added some implementations for finding primes