updated name_to_shortname

students can have more than two names.