https://medium.com/@deck451/codility-algorithm-practice-lesson-5-prefix-sums-task-3-genomic-range-query-a-python-approach-83841ec3dec7