A program that generates prime numbers upto n.