This program is designed to print out a list of numbers with any ranges
simplified out.
For instance you could ask your printer to print the first 5 pages of
a document like this:
1,2,3,4,5
or like this:
1-5
git clone https://github.com/AaronRobson/spans.git
cd spans
make install-packages
make check
make test
make run args="1 2 3 5-7 10"
python3 spans.py 1 2 3 5-7 10
Either of the two forms should return:
1-3, 5-7, 10