Added reportIfPrime method.