Simple python program for finding primes