Added prime caching
Added sieve prime