support for more than two strings in the name generation

better name generation ; requires less characters
fixed name generation