[ADD] getMaximum from an array