Problem 7, Fixed NumberUtil.isPrime method