Implements isPrime to check if a number is prime in constant time
Merge pull request #1 from rcpeng34/master

Implements isPrime to check if a number is prime in constant time