Exercise 1 Write a method that compute the sum of all the elements of an array of integers. Example input: [1, 2, 2, 3, 3, 4, 5, 6, 5, 7, 7, 7, 8, 8, 1] output: 69 Exercise 2 Write a method to reverse a string. Example input: "abcde" output: "edcba"