Final Update

configured code to search for prefixes and suffixes, if they exist it
removes them and assigns the value to the hash. Then it checks how many
items are left in the array, if there is 3 it knows first,middle and
last if 2 first and last if 1 then only last and assigns appropriate
values. Finally it returns the parsed_names