Fixed bug where if the first three numbers were the same, none printed.
The first number of the three identical now prints, and forms a range
if the next non-same number is consecutive.