added loop to print the pet name as many times as the user chose