Created methods to find the max in an array, find the middle number or a...

...verage of two middles, and to add each index of an array with that of an equal size array