Committing solution to Euler Project Question #11. Also added check in
isPrime(). Here, 2 is a prime number.