This script calculates all prime numbers within an interval set by a user.