Generalised primes module as util
Implemented pandigital utility function.