a simple program that finds the prime numbers between two numbers defined by the user