Xit all tests for middle_element and sum_arrays methods. Sort array and return last element for the max method.
Edit max method to not use the .sort method and to use the .each method by checking to see if each element is larger than the previous and retaining the higher value.
Make failing test pass for middle_element method. Check if length is zeroit returns nil. Check if odd it returns the middle index value. If even it returnd the average of the two middle values.
Create sum_arrays method to return an empty array if two empty arrays are passed in. Add a while loop to add the first element of each array and each successive element of each array to a sum array.
Refactor the max method to create a simplified if statement within the each method. Refactor the middle_element method to cut out the middle variable, which was unnecessary.
Refactor sum_arrays method. Remove check if arrays are both empty. Add check if arrays are of equal length and puts an error string if they are not.