Added isInteger and isPrime