Solved Problem1, pattern matching to substitute first names in a list of names