Helper function to normalize the start and end of an array by counting from the end of the array (just like Python).
| Parameters: |
|
|---|---|
| Return type: | (non-negative integer, non-negative integer) |
| Returns: | (normalized starting index, normalized ending index) |