Much faster prime number tester.
Problem 7.
Problem 8.