ask the user to enter a name and the number and create a function to print that name as many times