Divide et Impera method for getting the max value from an integers array in C++.