Added docstring for PRIMES-UPTO.