Added a counter variable in order to generate the output of the message
n times.