Given an array/list(ARR) of length N, you need to find and return the sum of all the elements in the array/list.
//Two random integer arrays/lists have been given as ARR1 and ARR2 of size N and M respectively. Both the arrays/lists contain numbers from 0 to 9(i.e. single digit integer is present at every index).