This program Find the mean of a sorted array