Objective
Write a function that adds up the integers of a range described by two pointers, where the second one marks the slot just after the last integer to read.
Steps
$ sum_range(a, a + 5) with a = {3, 8, 1, 9, 4}
25
$ sum_range(a + 1, a + 4) with a = {10, 20, 30, 40, 50}
90
$ sum_range(a, a) with a = {7, 7, 7}
0
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Write a function that adds up the integers of a range described by two pointers, where the second one marks the slot just after the last integer to read.
Steps
$ sum_range(a, a + 5) with a = {3, 8, 1, 9, 4}
25
$ sum_range(a + 1, a + 4) with a = {10, 20, 30, 40, 50}
90
$ sum_range(a, a) with a = {7, 7, 7}
0
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code