uses Min to get the length of the shortest word in a string array.