| Example input: 40,2-10,20-32,-5,-24-30 |
| 40 adds 40 to the list |
| 2-10 adds 2,3,4,5,6,7,8,9,10 to the list |
| 20-32 adds 20,21,22,23,24,25,26,27,28,29,30,31,32 to the list |
| -5 removes 5 from the list |
| -24-30 removes 24,25,26,27,28,29,30 from the list |
| So, 40,2-10,20-32,-5,-24-30 makes the list 2,3,4,6,7,8,9,10,20,21,22,23,31,32,40 |