completed max, middle_element, sum_arrays problems

Please check the  max, middle_element, sum_arrays problems.
Thank you!
Line not needed for the solution