Program to find prime numbers