Sub array max Sum and String toUpper and toLower