Added FindMaximalElementsInPortionOfArray