Install libnumber-range-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnumber-range-perl
Perl extension to work with ranges of numbers
Number::Range will take a description of a range, and then allow you to test on if a number falls within the range. You can also add and delete from the range.