add problem 7, use ifPrime to check and generate a prime list
add a new version of isPrime to check if a number is prime using a prime list as candidates. Over twice as fast, although using more memory.