to find prime number in a specific interval and do interaction with users.