Fixed isAPrimeNumber() and double function args