sumRange(left, right) {
        let total = 0;
        for (let i = left; i < right + 1; i++) {
            total += this.arr[i];
        }
        return total;
    }
Time O(n) | Space O(1)
@param {number} left 
@param {number} right
@return {number}