completed max, middle_element, sum_arrays problems

Please check the  max, middle_element, sum_arrays problems.
Thank you!