finished code for generating full names