Fix bug with zero length run + refactor
If the length of a run is zero by chance,
we get a subsequence of [0, 0]
which counts a
one run according to the task sheet.
Once this has happened, the NUMBER_OF_RUNS
constant does
not reflect the actual number of runs.
To fix this, we set the minimal run length to 1.