Implements a PrimeUtil class with necessary methods for prime numbers