Update PrimeNumber.php

Consider using this more efficient version of primality test with O(sqrt(n)) instead of existing O(n)