Use the technique you learned in previous exercise, and re-design your program which counts the number of primes. Compare the speed of this version with the one using sqrt().
N = ? 100
There are 25 prime numbers.
For N = 2000000, this version should be able to complete the calculation
within 0.5 second, while the one only applying the technique of sqrt() may take 5 seconds.