Added more options for choosing the length of name to be generated.