use map to convert each name in a string to lowercase.