method  isPrime() update

I corrected the isPrime() method in the ComplexCalculator and
uncommented the section in CalculatorMain that calls it.